package cn.stylefeng.guns.modular.wms.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;


/**
 * @author allen
 * @date 2021/4/11 17:31
 * @version 1.0
 */
/**
    * 退货入库单条目
    */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "wms_return_goods_input_order_item")
public class WmsReturnGoodsInputOrderItemEntity implements Serializable {
    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 退货入库单ID
     */
    @TableField(value = "return_goods_input_order_id")
    private Long returnGoodsInputOrderId;

    /**
     * 商品sku ID
     */
    @TableField(value = "goods_sku_id")
    private Long goodsSkuId;

    /**
     * 商品sku编号
     */
    @TableField(value = "goods_sku_code")
    private String goodsSkuCode;

    /**
     * 商品名称
     */
    @TableField(value = "goods_name")
    private String goodsName;

    /**
     * 销售属性，机身颜色:白色,内存容量:256G
     */
    @TableField(value = "sale_properties")
    private String saleProperties;

    /**
     * 商品毛重
     */
    @TableField(value = "goods_gross_weight")
    private BigDecimal goodsGrossWeight;

    /**
     * 购买数量
     */
    @TableField(value = "purchase_quantity")
    private Long purchaseQuantity;

    /**
     * 商品购买价格
     */
    @TableField(value = "purchase_price")
    private BigDecimal purchasePrice;

    /**
     * 促销活动ID
     */
    @TableField(value = "promotion_activity_id")
    private Long promotionActivityId;

    /**
     * 商品长度
     */
    @TableField(value = "goods_length")
    private BigDecimal goodsLength;

    /**
     * 商品宽度
     */
    @TableField(value = "goods_width")
    private BigDecimal goodsWidth;

    /**
     * 商品高度
     */
    @TableField(value = "goods_height")
    private BigDecimal goodsHeight;

    /**
     * 合格商品数量
     */
    @TableField(value = "qualified_count")
    private Long qualifiedCount;

    /**
     * 商品到货数量
     */
    @TableField(value = "arrival_count")
    private Long arrivalCount;

    /**
     * 创建时间
     */
    @TableField(value = "gmt_create")
    private Date gmtCreate;

    /**
     * 更新时间
     */
    @TableField(value = "gmt_modified")
    private Date gmtModified;

    private static final long serialVersionUID = 1L;

    public static final String COL_ID = "id";

    public static final String COL_RETURN_GOODS_INPUT_ORDER_ID = "return_goods_input_order_id";

    public static final String COL_GOODS_SKU_ID = "goods_sku_id";

    public static final String COL_GOODS_SKU_CODE = "goods_sku_code";

    public static final String COL_GOODS_NAME = "goods_name";

    public static final String COL_SALE_PROPERTIES = "sale_properties";

    public static final String COL_GOODS_GROSS_WEIGHT = "goods_gross_weight";

    public static final String COL_PURCHASE_QUANTITY = "purchase_quantity";

    public static final String COL_PURCHASE_PRICE = "purchase_price";

    public static final String COL_PROMOTION_ACTIVITY_ID = "promotion_activity_id";

    public static final String COL_GOODS_LENGTH = "goods_length";

    public static final String COL_GOODS_WIDTH = "goods_width";

    public static final String COL_GOODS_HEIGHT = "goods_height";

    public static final String COL_QUALIFIED_COUNT = "qualified_count";

    public static final String COL_ARRIVAL_COUNT = "arrival_count";

    public static final String COL_GMT_CREATE = "gmt_create";

    public static final String COL_GMT_MODIFIED = "gmt_modified";
}